package com.ruoyi.web.controller.mall.orderBack.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 退货记录对象 order_back
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class OrderBack //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private String id;

    /** 物流名 */
    @Excel(name = "物流名")
    private String expressName;

    /** 快物流单号 */
    @Excel(name = "快物流单号")
    private String expressCode;

    /** 退货原因 */
    @Excel(name = "退货原因")
    private String reason;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String reasonF;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 假删除 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setExpressName(String expressName) 
    {
        this.expressName = expressName;
    }

    public String getExpressName() 
    {
        return expressName;
    }
    public void setExpressCode(String expressCode) 
    {
        this.expressCode = expressCode;
    }

    public String getExpressCode() 
    {
        return expressCode;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setReasonF(String reasonF) 
    {
        this.reasonF = reasonF;
    }

    public String getReasonF() 
    {
        return reasonF;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("expressName", getExpressName())
            .append("expressCode", getExpressCode())
            .append("reason", getReason())
            .append("orderId", getOrderId())
            .append("reasonF", getReasonF())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
